import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import login from './modules/login'
import power from './modules/power'
import role from './modules/role'
import client from './modules/client'
import supply from './modules/supply'
import goods from './modules/goods'
import store from './modules/store'
import put from './modules/put'
import out from './modules/out'
import stock from './modules/stock'
import home from './modules/home'

export default new Vuex.Store({
  modules:{
    login,
    power,
    role,
    client,
    supply,
    goods,
    store,
    put,
    out,
    stock,
    home
  }
})
